{template '_header'}

{template 'diypage/_common'}

<div class="page-heading">
    <h2><i class="fa fa-circle-o"></i>自定义关注条设置</h2>
</div>

<div class="diy-phone" data-merch="{php echo intval($_W['merchid'])}">
    <div class="phone-head"></div>
    <div class="phone-body">
        <div class="phone-title" id="page">页面标题</div>
        <div class="phone-main" id="phone" style="position: relative; overflow: hidden">
            <p style="text-align: center; line-height: 400px">loading...</p>
        </div>
    </div>
    <div class="phone-foot"></div>
</div>

<div class="diy-editor form-horizontal" id="diy-editor" style="float: right; margin-top: 100px">
    <div class="editor-arrow"></div>
    <div class="inner">adssadaafdsafsafdsfdsfdsa<br>dsadadsa</div>
</div>



<div class="diy-menu">
    <div class="action">
        <nav class="btn btn-default btn-sm" style="float: left; display: none" id="gotop"><i class="icon icon-top" style="font-size: 12px"></i> 返回顶部</nav>
        <nav class="btn btn-primary btn-sm btn-save" data-type="save">保存并设置</nav>
    </div>
</div>

{template 'diypage/_template_followbar'}

<script language="javascript">
    var path = '../../plugin/diypage/static/js/diy.followbar';
    myrequire([path,'tpl','web/biz'],function(modal,tpl){
        modal.init({
            tpl: tpl,
            attachurl: "{$_W['attachurl']}",
            followbar: {if !empty($diyfollowbar)}{php echo json_encode($diyfollowbar)}{else}null{/if},
            logo: "{$logo}",
            merch: {if $_W['plugin']=='merch' && !empty($_W['merchid'])}1{else}0{/if}
        });
    });
</script>

{template '_footer'}